<!-- Layout.vue -->
<template>
  <div class="basePage">
    <header>
      <!-- 通用头部内容 -->
      <Header></Header>
    </header>
    <main class="mainWrap">
      <router-view></router-view>
    </main>
    <footer>
      <!-- 通用底部内容 -->
      <Footer></Footer>
    </footer>
  </div>
</template>

<script>
import Header from '@/components/Header';
import Footer from '@/components/FooterBlack';
export default {
  name: 'Layout',
  components: { Header, Footer },
};
</script>

<style lang="scss" scoped>
.basePage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.mainWrap {
  flex: 1;
}
</style>
